package com.krds
{
	import flash.display.MovieClip;
	import flash.events.MouseEvent;
	
	public class Button extends MovieClip
	{
		public function Button()
		{
			stop();
			buttonMode = true;
			addEventListener(MouseEvent.ROLL_OVER,over)
			addEventListener(MouseEvent.ROLL_OUT,out)
		}
		private function over(e:MouseEvent):void
		{
			gotoAndStop(2)
		}
		private function out(e:MouseEvent):void
		{
			gotoAndStop(1)	
		}
	}
}